package com.zy.aiLocation.domain.vo;

import com.zy.aiLocation.domain.House;
import com.zy.aiLocation.domain.Image;
import com.zy.aiLocation.domain.Landlord;
import com.zy.aiLocation.domain.Tenant;

import java.util.List;

public class HouseVo extends House {

    //房东类
    private Landlord landlord;
    //租户类
    private Tenant tenant;
    //图片类集合
    private List<Image> images;

    public Landlord getLandlord() {
        return landlord;
    }

    public Tenant getTenant() {
        return tenant;
    }

    public void setLandlord(Landlord landlord) {
        this.landlord = landlord;
    }

    public void setTenant(Tenant tenant) {
        this.tenant = tenant;
    }

    public List<Image> getImages() {
        return images;
    }

    public void setImages(List<Image> images) {
        this.images = images;
    }

    @Override
    public String toString() {
        return "HouseVo{" +
                ", landlord=" + landlord +
                ", tenant=" + tenant +
                '}';
    }
}
